package j05zuoye.bean;

public class RaceInfo {
    //届数
    private String raceNumber;
    private int year;
    private String place;
    private String winner;

    public RaceInfo() {
    }

    public RaceInfo(String raceNumber, int year, String place, String winner) {
        this.raceNumber = raceNumber;
        this.year = year;
        this.place = place;
        this.winner = winner;
    }

    public String getWinner() {
        return winner;
    }

    public int getYear() {
        return year;
    }

    @Override
    public String toString() {
        return "RaceInfo{" +
                "raceNumber='" + raceNumber + '\'' +
                ", year=" + year +
                ", place='" + place + '\'' +
                ", winner='" + winner + '\'' +
                '}';
    }
}
